<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/common.jsp"%>
<html>
  <head>
<%@ include file="/common/meta.jsp"%>      
    <title>修改配置信息</title>
	<link href="<c:url value='/styles/form.css'/>" type="text/css" rel="stylesheet">
	<script language="javascript" type="text/javascript" 
			src="<%=contextPath %>/scripts/common-validator.js"></script>
	<script type="text/javascript">
			function validateForm(form){
		 	if(!sl_checkChoice($("configPo.systemId"),"子系统Id"))  return false;
			if(!sl_check($("configPo.configName"),"配置名称",50,1))  return false;
			//if(!sl_check($("configPo.configValue"),"配置值",50,1)) return false;
			return true;
		}
	</script>	
  </head>
	<body bgcolor="#F2FEF4">
		<div align="center">
		<div id="detailheader">
			<img src="<%=request.getContextPath()%>/images/main/main_ban01Dot.png" />
			<div>修改配置信息</div>
		</div>
		<br/><br/>   
		<html:form action="/config.do?method=update" method="post" onsubmit="return validateForm(this);">			
			<div class="formTable" style="width:90%;">
				<div class="formTitle">
					<div class="formTitleL"></div>
					<div class="formTitleM">配置基本信息</div>
					<div class="formTitleR"></div>
				</div>
				<div class="formContent">
							<table width="90%">
								<tr>
									<td align="left">子系统ID:</td>
									<html:hidden property="configPo.configId"/>
									<td align="left" nowrap="nowrap">
									<html:select property="configPo.systemId"  disabled="true">
										<html:option value="MESSAGE">MESSAGE</html:option>
										<html:option value="EVENT">EVENT</html:option>
										<html:option value="CENTER">CENTER</html:option>
									</html:select>
									
									</td>
								</tr>
								<tr>
									<td align="left">配置名称:</td>
									<td align="left">
									<html:text property="configPo.configName" />
									</td>
								</tr>
								<tr>
									<td align="left">配置值:</td>
									<td align="left">
									<html:text property="configPo.configValue" />
									</td>
								</tr>	
								<tr>
									<td align="left">父配置:</td>
									<td align="left">
									<html:text property="configPo.parentConfigName" disabled="true"></html:text>								
									</td>
								</tr>								
								<tr>
									<td align="left" >备注:</td>
									<td align="left">
									<html:text property="configPo.remark" />
									</td>
								</tr>
								<tr>
									<td align="center" colspan="2">
										<html:submit styleClass="btn_Xp_Bg0" value="确 定"/>&nbsp;&nbsp;&nbsp;
										<html:reset styleClass="btn_Xp_Bg0" value="重 置"/>
									</td>
								</tr>
							</table>
				</div>
			</div>
			
		</html:form>
		</div>
	</body>
	
	
	
	
	
	
	
	
	
	
	
</html>
